﻿<UserControl x:Class="OpenLightGroup.Common.UserManagement.UserRolesManager"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition Height="*"/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="*"/>
    		<ColumnDefinition Width="50"/>
    		<ColumnDefinition Width="*"/>
    	</Grid.ColumnDefinitions>
    	<ListBox x:Name="UserRolesListBox" Margin="0" Grid.RowSpan="2" Grid.Row="1"/>
    	<ListBox x:Name="AvailableRolesListBox" Grid.Column="2" Margin="0" Grid.RowSpan="2" Grid.Row="1"/>
    	<TextBlock x:Name="textBlock" HorizontalAlignment="Left" Margin="0,0,0,1" TextWrapping="Wrap" Text="User Roles:" d:LayoutOverrides="Height" VerticalAlignment="Center"/>
    	<StackPanel Grid.Column="1" Margin="5,0" Orientation="Vertical" Grid.Row="1" d:LayoutOverrides="Height" VerticalAlignment="Center">

    		<Button x:Name="AddRoleButton" Content="&lt;" Margin="0" VerticalAlignment="Center"/>
    		<Button x:Name="RemoveRoleButton" Content="&gt;" Margin="0,10,0,0" VerticalAlignment="Center"/>
    	</StackPanel>
    	<TextBlock x:Name="textBlock1" Grid.Column="2" HorizontalAlignment="Left" Margin="0" TextWrapping="Wrap" Text="Available Roles:" d:LayoutOverrides="Height" VerticalAlignment="Center"/>

    </Grid>
</UserControl>
